<template>
    <div class="license">
        <div id="c1">文章信息</div>
        <div id="c2">🎏&nbsp;&nbsp;版权声明：自由转载-非商用-非衍生-保持署名<a href="https://creativecommons.org/licenses/by-nc-nd/3.0/deed.zh">（创意共享3.0许可证）</a></div>
        <div id="c3">🎨&nbsp;&nbsp;上次修改日期: {{timeFilterSpeci(time)}}&nbsp;</div>
        <div id="c4">🔥&nbsp;&nbsp;访问记录:&nbsp;{{views}}</div>
    </div>
</template>

<script>
import {timeFilterSpeci} from '../utils/filter'
export default {
    props: ["views","time"],
    methods: {
        timeFilterSpeci
    }
}
</script>

<style lang="less" scoped>
    .license {
        box-sizing: border-box;
        background: #647b91;
        padding: 30px;
        border-radius: 15px;
        width: 60%;
        margin: 0 auto;
        margin-top: 40px;
        #c1 {
            padding-bottom: 5px;
            border-bottom: 0.8px solid rgba(0,0, 0, 0.3);
        }
        #c2 {
            margin-top: 10px;
        }
        #c3 {
            margin-top: 10px;
        }
        #c4 {
            margin-top: 10px;
        }
        a {
            color: #fff;
            text-decoration: none;
        }
    }
</style>